package main

import (
	"gexcel/pkg/screen"
)

func main() {
	s := screen.NewScreen()
	s.EventRegister("Rune[h]", func() {
		s.LogInfo("[h] Help: Press ESC twice to exit, C to clear.")
	})
	//s.EventRegister("Right", func() {
	//	s.LogInfoStr = "上下左右：右"
	//})
	//s.EventRegister("Left", func() {
	//	s.LogInfoStr = "上下左右：左"
	//})
	//s.EventRegister("Up", func() {
	//	s.LogInfoStr = "上下左右：上"
	//})
	//s.EventRegister("Down", func() {
	//	s.LogInfoStr = "上下左右：下"
	//})
	s.Run()
}
